<div class="main_body">
<!--{eval $tagcolor =array('#795fa6','#ec9233','#f17568','#9ec53d','#e06192','#795fa6','#ec9233','#f17568','#9ec53d','#e06192','#795fa6','#ec9233','#f17568','#9ec53d','#e06192','#795fa6','#ec9233','#f17568','#9ec53d','#e06192');}-->
<!--{eval $tagborder =array('','border-left:0;','border-left:0;','border-top:0;','border-top:0;border-left:0;','border-top:0;border-left:0;','border-top:0;','border-top:0;border-left:0;','border-top:0;border-left:0;','border-top:0;','border-top:0;border-left:0;','border-top:0;border-left:0;');}-->
<!--{eval $imgitem =array(
    array('col-20','col-13 left-20','col-17 left-33','col-20 left-50 row-1','col-20 left-50 top-1 row-1','col-15 left-70','col-15 left-85'),
    array('col-20 row-1','col-20 top-1 row-1','col-20 left-20','col-13 left-40','col-17 left-53','col-15 left-70','col-15 left-85'),
    array('col-13','col-17 left-13','col-20 left-30 row-1','col-20 left-30 top-1 row-1','col-20 left-50','col-15 left-70','col-15 left-85'),
    
    array('col-20','col-13 left-20','col-17 left-33','col-20 left-50 row-1','col-20 left-50 top-1 row-1','col-15 left-70','col-15 left-85'),
    array('col-20 row-1','col-20 top-1 row-1','col-20 left-20','col-13 left-40','col-17 left-53','col-15 left-70','col-15 left-85'),
    array('col-13','col-17 left-13','col-20 left-30 row-1','col-20 left-30 top-1 row-1','col-20 left-50','col-15 left-70','col-15 left-85'),
    array('col-20','col-13 left-20','col-17 left-33','col-20 left-50 row-1','col-20 left-50 top-1 row-1','col-15 left-70','col-15 left-85'),
    array('col-20 row-1','col-20 top-1 row-1','col-20 left-20','col-13 left-40','col-17 left-53','col-15 left-70','col-15 left-85'),
    array('col-13','col-17 left-13','col-20 left-30 row-1','col-20 left-30 top-1 row-1','col-20 left-50','col-15 left-70','col-15 left-85'),
    array('col-20','col-13 left-20','col-17 left-33','col-20 left-50 row-1','col-20 left-50 top-1 row-1','col-15 left-70','col-15 left-85'),
    array('col-20 row-1','col-20 top-1 row-1','col-20 left-20','col-13 left-40','col-17 left-53','col-15 left-70','col-15 left-85'),
    array('col-13','col-17 left-13','col-20 left-30 row-1','col-20 left-30 top-1 row-1','col-20 left-50','col-15 left-70','col-15 left-85'),
    array('col-20','col-13 left-20','col-17 left-33','col-20 left-50 row-1','col-20 left-50 top-1 row-1','col-15 left-70','col-15 left-85'),
    array('col-20 row-1','col-20 top-1 row-1','col-20 left-20','col-13 left-40','col-17 left-53','col-15 left-70','col-15 left-85'),
    array('col-13','col-17 left-13','col-20 left-30 row-1','col-20 left-30 top-1 row-1','col-20 left-50','col-15 left-70','col-15 left-85'),
    array('col-20','col-13 left-20','col-17 left-33','col-20 left-50 row-1','col-20 left-50 top-1 row-1','col-15 left-70','col-15 left-85'),
    array('col-20 row-1','col-20 top-1 row-1','col-20 left-20','col-13 left-40','col-17 left-53','col-15 left-70','col-15 left-85'),
    array('col-13','col-17 left-13','col-20 left-30 row-1','col-20 left-30 top-1 row-1','col-20 left-50','col-15 left-70','col-15 left-85'),
    array('col-20','col-13 left-20','col-17 left-33','col-20 left-50 row-1','col-20 left-50 top-1 row-1','col-15 left-70','col-15 left-85'),
    array('col-20 row-1','col-20 top-1 row-1','col-20 left-20','col-13 left-40','col-17 left-53','col-15 left-70','col-15 left-85'),
    array('col-13','col-17 left-13','col-20 left-30 row-1','col-20 left-30 top-1 row-1','col-20 left-50','col-15 left-70','col-15 left-85'),
);
}-->
<!--{if $cate_list}-->
    <!--{eval $channel =1;}-->
    <!--{loop $cate_list $citem}-->
    <div class="channel channel_{$channel}">
        <div class="i_tt" id="hcata_{$citem['cate']['cate_id']}"><a target="_blank" style="color:{$tagcolor[$channel-1]}" href="{if $citem['cate']['cate_type'] == 0}{u article/index cate=$citem['cate']['cate_id']}{elseif $citem['cate']['cate_type'] == 1}{u product/list cate=$citem['cate']['cate_id']}{elseif $citem['cate']['cate_type'] == 2}{u book/cate cate=$citem['cate']['cate_code']}{/if}">{$citem['cate']['short_name']}<em>&gt;&gt;</em></a></div>
        <div class="i_body">
            <div class="j_left hc_tags">
                <ul>
                    <!--{eval $tag_index =0;}-->
					<!--{loop $citem['children'] $ccitem}-->
					<li style="background-color:<!--{eval echo hex2rnd($tagcolor[$channel-1]);}-->;border-color:{$tagcolor[$channel-1]};{$tagborder[$tag_index]}"><a target="_blank" href="{if $ccitem['cate_type'] == 0}{u article/index cate=$ccitem['cate_id']}{elseif $ccitem['cate_type'] == 1}{u product/list cate=$ccitem['cate_id']}{elseif $ccitem['cate_type'] == 2}{u book/cate cate=$ccitem['cate_code']}{elseif $ccitem['cate_type'] == 3}{u shopinfo/index cate=$ccitem['cate_id']}{/if}"><span style="margin-top:<!--{eval echo mb_strlen($ccitem['short_name'], 'UTF-8')>3?'15px':'25px';}-->">{$ccitem['short_name']}</span></a></li>
					<!--{if $tag_index > 11}-->
					<!--{eval break;}-->
					<!--{/if}-->
					<!--{eval $tag_index++;}-->
					<!--{/loop}-->
                </ul>
            </div>

            <!--{eval $cate_idx = 0;}-->
            <div class="j_mid">
                <div class="hc_img">
                    <!--{loop $citem['data'] $link}-->
                    <div class="item {if $imgitem[$channel-1][$cate_idx]}{$imgitem[$channel-1][$cate_idx]}{else}col-no{/if}">
                        <a href="{$link[2]}" class="s_btn"><span class="g_radius"><span>{$link[0]}</span></span><img src="/public/images/{$link[1]}"/></a>
                    </div>
                    <!--{eval $cate_idx++;}-->
                    <!--{/loop}-->
                </div>
            </div>
        </div>
    </div>
        <!--{eval $channel++;}-->
    <!--{/loop}-->
<!--{/if}-->
</div>

<script>
function index_cate(){
}
</script>
